package com.crm.model.mdao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.crm.model.mpojo.Refunditems;
@Mapper
public interface RefunditemsMapper {
    int deleteByPrimaryKey(Integer riId);

    int insert(Refunditems record);

    int insertSelective(Refunditems record);

    Refunditems selectByPrimaryKey(Integer riId);

    int updateByPrimaryKeySelective(Refunditems record);

    int updateByPrimaryKey(Refunditems record);
    
    /**
     * 根据退货编号查询
     * @param ogId
     * @return
     */
    List<Map<String, String>> selectByRgid(Integer ogId);
}